package com.ziyun.erp.common.e.production;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 生产单分配类型
 * @author gaosheng
 * @date 2018-09-11 13:56
 */
public enum AllotTypeEnum implements BaseEnum{

    ORDER("order", "订单"),
    PROCEDURE("procedure", "工序"),
    GOODS("goods", "商品"),
    ;

    AllotTypeEnum(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }
    private String code;
    private String describe;

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
